First-class Futures: a Study of Update Strategies

نویسندگان

  • Khan Muhammad
  • Ludovic Henrio
چکیده

Futures enable an efficient and easy to use programming paradigm for distributed applications. A natural way to benefit from distribution is to perform asynchronous invocations to methods or services. Upon invocation, a request is en-queued at the destination side and the caller can continue its execution. But a question remains: “what if one wants to manipulate the result of an asynchronous invocation?” First-class futures provide a transparent and easy-to-program answer: a future acts as the placeholder for the result of an asynchronous invocation and can be safely transmitted between processes while its result is not needed. Synchronization occurs automatically upon an access requiring the result. As references to futures disseminate, a strategy is necessary to propagate the result of each request to the processes that need it. This report studies the efficient transmission of results: it presents three main strategies in a semi-formal manner, and provides a cost analysis with some experiments to determine the efficiency of each strategy. Key-words: distributed systems, future, future update strategies, active objects, asynchronous communications ∗ INRIA, Sophia Antipolis, Université de Nice – I3S – CNRS in ria -0 04 35 57 3, v er si on 1 24 N ov 2 00 9 Futurs de primière classe: Une étude des stratégies de mise à jour des futures Résumé : Une futur est un paradigme de programmation efficace et facile à utiliser pour les applications distribuées. Un futur est une espace réservé temporaire pour un résultat d’appel asynchrone. Cet article étudie la transmission efficace des résultats: Elle présente trois stratégies demanière semi-formelle, et fournit une analyse des coûts avec quelques expériences de manière à déterminer l’efficacité de chaque stratégie. Mots-clés : systèmes distribués, future, stratégies pour mise à jour les futures, objet active, communication asynchrone in ria -0 04 35 57 3, v er si on 1 24 N ov 2 00 9 Future update strategies 3

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

First Class Futures: Specification and Implementation of Update Strategies

A natural way to benefit from distribution is via asynchronous invocations to methods or services. Upon invocation, a request is enqueued at the destination side and the caller can continue its execution. But a question remains: “what if one wants to manipulate the result of an asynchronous invocation?” First-class futures provide a transparent and easy-to-program answer: a future acts as the p...

متن کامل

A Review of Alcohol-Related Harms: A Recent Update

In the early decades of the 20th century, discussions regarding alcohol were dominantly directed toward itstherapeutic uses, but authorities now state that any level of alcohol consumption poses negative effects onhealth. Over recent months, increased attention has been devoted to disease burdens attributable to alcoholuse worldwide. As more...

متن کامل

Future research and presentation of quality development trends in public universities in Tehran: Based on the approach of the world-class university

 Introduction: A brief study of the evolution of higher education in Iran and how universities and higher education centers have expanded shows that the process of university planning is not being considered. The purpose of this study is to design and validate the future research model of qualitative development trends of public universities in Tehran based on the university's approach at the g...

متن کامل

Identification and validation of effective tactics and strategies in the maturity of green human resource management in the first class areas of the National Iranian Petroleum Products Distribution Company

The purpose of this study is to identify and validate effective tactics and strategies in creating the maturity of green human resources in the first class areas of the National Iranian Petroleum Products Distribution Company and is a descriptive study of correlation studies. The statistical population includes 835 employees with an organizational base of 14 and above in the first class areas o...

متن کامل

Condom Use and its Associated Factors Among Iranian Youth: Results From a Population-Based Study

Background Given the young structure of Iran’s population and the fact that extramarital sexual relationships are both prohibited by legislation and shunned by society and religion, examining condom use practices among Iranian youth is highly important. The aim of this study was to explore condom use and its correlates among Iranian...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010